home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 103
/
XENIATGM103.iso
/
Shareware
/
GoLive 5.0
/
MM9.Cab
/
F1405_project.asp.9B3B646D_CB56_4EAE_BAB7_3E7E8E41A649
< prev
next >
Wrap
Text File
|
2000-08-17
|
5KB
|
98 lines
<!-- #INCLUDE VIRTUAL="/golive/config/include/utils.runtime5.asp" -->
<!-- #INCLUDE VIRTUAL="/golive/config/include/ado.runtime5.asp" -->
<!-- #INCLUDE VIRTUAL="/golive/config/actions/ado.actions5.asp" -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<meta name="generator" content="Adobe GoLive 5">
<title>Edit Feature</title>
<%'Dynamic Link
set Project_InformationRecordSet = CreateObject("ADODB.RecordSet")
Project_InformationRecordSet.Open "select * from projects", ConnectString("Magazine")
set Project_Information = WrapRecordSet(Project_InformationRecordSet, "ID")
Project_Information.Move GetRecordIndex() - 1
%><%'Dynamic Link
set Status_ListRecordSet = CreateObject("ADODB.RecordSet")
Status_ListRecordSet.Open "select * from StatusOptions order by ListingOrder", ConnectString("Magazine")
set Status_List = WrapRecordSet(Status_ListRecordSet, "ProjectStatus")
%><%'Dynamic Link
set Author_ListRecordSet = CreateObject("ADODB.RecordSet")
Author_ListRecordSet.Open "select * from Authors order by ProjectAuthor", ConnectString("Magazine")
set Author_List = WrapRecordSet(Author_ListRecordSet, "ProjectAuthor")
%><meta name="site-config-URL" content="http://localhost/golive/config/">
</head>
<body bgcolor="white">
<form method="post" action='/golive/config/actions/ado.actions5.asp?<%=URLArgs()%>'>
<table border="0" cellpadding="4" cellspacing="4">
<tr>
<td bgcolor="#666699"><font color="white" face="arial,helvetica,sans-serif"><b>ID</b></font></td>
<td bgcolor="#ccccff"><%=Project_Information.Value("ID")%></td>
</tr>
<tr>
<td bgcolor="#666699"><font color="white" face="arial,helvetica,sans-serif"><b>Project</b></font></td>
<td bgcolor="#ccccff"><input type="text" name='ProjectName' value='<%=Project_Information.Value("ProjectName")%>' size="32"></td>
</tr>
<tr>
<td bgcolor="#666699"><font color="white" face="arial,helvetica,sans-serif"><b>Status</b></font></td>
<td bgcolor="#ccccff">
<table border="0" cellpadding="2" cellspacing="2">
<% Status_List.MoveFirst %>
<% while not Status_List.EOF %>
<tr>
<td nowrap><input type="radio" value='<%=Status_List.Value("ProjectStatus")%>' name='ProjectStatus' <%=checked(Project_Information.Value("ProjectStatus") = Status_List.Value("ProjectStatus"))%>><%=Status_List.Value("ProjectStatus")%></td>
</tr>
<% Status_List.MoveNext %>
<% wend %>
</table>
</td>
</tr>
<tr>
<td bgcolor="#666699"><font color="white" face="arial,helvetica,sans-serif"><b>Assigned</b></font></td>
<td bgcolor="#ccccff"><select name='ProjectAuthor' size="1">
<% Author_List.MoveFirst %>
<% while not Author_List.EOF %>
<option value='<%=Author_List.Value("ProjectAuthor")%>' name="ProjectAuthor" <%=selected(Project_Information.Value("ProjectAuthor") = Author_List.Value("ProjectAuthor"))%>><%=Author_List.Value("ProjectAuthor")%>
<% Author_List.MoveNext %>
<% wend %>
</select></td>
</tr>
<tr>
<td bgcolor="#666699"><font color="white" face="arial,helvetica,sans-serif"><b>Due Date</b></font></td>
<td bgcolor="#ccccff"><input type="text" name='DueDate' size="32" value='<%=Project_Information.Value("DueDate")%>'></td>
</tr>
</table>
<p>
<input type="submit" value="Update" name="$SubmitChanges" <%=SetupADOAction(Project_Information, false)%>>
<input type="submit" value="Delete" name="$DeleteRecord" <%=SetupADOAction(Project_Information, false)%>>
<input type="submit" value="Duplicate" name="$DuplicateRecord" <%=SetupADOAction(Project_Information, false)%>>
<input type="reset" value="Clear Form">
</p>
<p><font face="verdana" size="1"><b>
| <a <%=linkToFirstRecord(Project_Information)%>><< FIRST</a>
| <a <%=linkToPreviousRecord(Project_Information)%>><- PREVIOUS</a>
| <a <%=linkToNextRecord(Project_Information)%>>NEXT -></a>
| <a <%=linkToLastRecord(Project_Information)%>>LAST >></a>
| <%=Project_Information.AbsolutePosition%> of <%=Project_Information.RecordCount%></b></font></p>
<p>
</form>
</body>
</html>
<% if 0 then %>
<!-- Mock Content
Project_Information:ID {123}
Project_Information:ProjectName {}
Status_List:<TABLE> {<tr><td><input type="radio" value="radioValue" name="default">Baking Nicely</td></tr><tr><td><input type="radio" value="radioValue" name="default">Done to Perfection</td></tr>}
Project_Information:ProjectStatus {Ready to Roast}
Status_List:ProjectStatus {Ready to Roast}
Author_List:<SELECT> {<option value="BlueCow">BlueCow<option value="HolyCow">HolyCow}
Author_List:ProjectAuthor {MadCow}
Project_Information:DueDate {}
Project_Information:$recordIndex {3}
Project_Information:$recordCount {15}
-->
<% end if %>